Fluent Assertions Documentation
FluentAssertions.Equivalency Namespace / SelfReferenceEquivalencyOptions<TSelf> Class / IgnoringNewlineStyle Method
In This Topic
    IgnoringNewlineStyle Method
    In This Topic
    Instructs the comparison to ignore the newline style when comparing strings.
    Syntax
    public TSelf IgnoringNewlineStyle()
    Remarks
    Enabling this option will replace all occurences of \r\n and \r with \n in the strings before comparing them.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also